#include<stdio.h>
#include<string.h>
typedef struct STU
{
    char Name[20];
    int age;
    struct STU *next;
} student_t;

int main(void)
{
    student_t Xiaoming, Xiaoli, Xiaowang, *head;
    strcpy(Xiaoming.Name, "Xiaoming");
    Xiaoming.age = 18;
    strcpy(Xiaoli.Name, "Xiaoli");
    Xiaoli.age = 19;
    strcpy(Xiaowang.Name, "Xiaowang");
    Xiaowang.age = 17;
    Xiaoming.next = &Xiaoli;
    Xiaoli.next = &Xiaowang;
    Xiaowang.next = NULL;
    head = &Xiaoming;
    printf("%-20s\t%s\n", "Name", "Age");
    while(head != NULL)
    {
        printf("%-20s\t%d\n", head->Name, head->age);
        head = head->next;
    }

    return 0;
}